﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;

namespace Final
{
    class Compiler
    {
        string source;

        public Compiler(string filename)
        {
            StreamReader sr = new StreamReader(filename);

            source = sr.ReadToEnd();

            Scanner scanner = new Scanner(source);

            scanner.PrintTokens();

            Console.WriteLine();

            Parser parser = new Parser(scanner.Tokens);
        }
    }
}
